package com.qijian.maindata.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 【请填写功能名称】对象 查询条件类
 *
 * @author qijian
 * @date 2022-12-14
 */

@Data
@ToString
@TableName("main_inspection_plan")
public class InspectionPlanQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "plan_code", type = WhereTypeEnum.LIKE)
    private String planCode;
    @WhereType(filed = "project_id")
    private Long projectId;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "project_machine_no", type = WhereTypeEnum.LIKE)
    private String projectMachineNo;
    @WhereType(filed = "status")
    private Long status;
    @WhereType(filed = "inspection_user_id", tableName = "main_inspection_plan_detail")
    private Long inspectionUserId;
    @WhereType(filed = "status", tableName = "main_inspection_plan_detail", type = WhereTypeEnum.NEQ)
    private Long statusNeq;
    @WhereType(filed = "inspection_name", tableName = "main_inspection_plan_detail", type = WhereTypeEnum.LIKE)
    private Long inspectionName;
    @WhereType(filed = "status", tableName = "main_inspection_plan_detail")
    private Long detailStatus;
    @WhereType(filed = "project_no", tableName = "main_project")
    private String projectNo;
    @WhereType(filed = "project_id", tableName = "main_project", type = WhereTypeEnum.NOTIN)
    private List<Long> projectIdNotIn;
    @WhereType(filed = "work_code", tableName = "main_process_order", type = WhereTypeEnum.LIKE)
    private String workCode;
    @WhereType(filed = "nick_name", tableName = "main_process_order", type = WhereTypeEnum.LIKE)
    private String nickName;
    @WhereType(filed = "process_name", tableName = "main_process_order", type = WhereTypeEnum.LIKE)
    private String processName;
    @WhereType(filed = "item_name", tableName = "main_process_order", type = WhereTypeEnum.LIKE)
    private String itemName;
    @WhereType(filed = "process_id", tableName = "main_inspection_plan_detail")
    private Long processId;



}
